package p.ithorns.sample.websocket;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import p.ithorns.framework.redis.stream.EnableRedisStream;

/**
 * WsApp
 * --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED
 * @author Ht.L
 * @date 2024-10-13 11:50
 * @since 1.0.0
 */
@EnableRedisStream
@SpringBootApplication
public class WsApp {
    public static void main(String[] args) {
        // 解决logback 1.3.x版本问题：java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
        // System.setProperty("org.springframework.boot.logging.LoggingSystem", "none");
        SpringApplication.run(WsApp.class, args);
    }

}